package equipe2msvy.ProjectServeurApplication.beans;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="ENCHERE")
public class Enchere extends Transaction{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(name="DATE_FIN")
	private Date dateFin;
	@Column(name="PRIX")
	private double prix;
	public Date getDateFin() {
		return dateFin;
	}
	public void setDateFin(Date dateFin) {
		this.dateFin = dateFin;
	}
	public double getPrix() {
		return prix;
	}
	public void setPrix(double prix) {
		this.prix = prix;
	}
	public Enchere(Date dateFin, double prix) {
		super();
		this.dateFin = dateFin;
		this.prix = prix;
	}
	public Enchere() {
		super();
		// TODO Auto-generated constructor stub
	}
}
